package com.ruoyi.common.enums;

/**
 * 角色权限字符
 *
 * @author ruoyi
 */
public enum RoleKey {
    OPT("opt", "运维人员"),
    USER("user", "用户"),
    COMMON("common", "普通角色"),
    MANAGE("manage", "管理员"),
    ADMIN("admin", "超级管理员");

    private final String code;
    private final String info;

    RoleKey(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
